<?php
/**
 *
 * @author Haohao
 * @date 2022-04-18 4:08 下午
 *
 */

namespace app\common\model\tang;


use app\common\impl\Comm;
use app\common\model\CommonBaseModel;
use Jrk\Tree;

class ReleaseConfig extends CommonBaseModel implements Comm
{

    public function getAdminPageData($param = [], $order = 'id desc')
    {

        $data = self::order($order)->page(PAGE)->limit(LIMIT)->select()->toArray();
        $count = self::count("id");
        return parent::ajaxResult($data, $count);

    }

    public function delById($id)
    {
        // TODO: Implement delById() method.
    }

    public function doAll($data)
    {
        // TODO: Implement doAll() method.
        return parent::doAllData($data);
    }
}